img {
    object-fit: contain;
    display: block;
}

.pub_header,
.pub_contain,
.pub_footer {
    position: relative;
}

.pub_contain {
    overflow: hidden;
}

.pub_header {
    width: 100%;
    background-color: white;
    overflow: hidden;
}

.nav {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
}

.nav_list {
    display: flex;
    align-items: center;
}

.nav_item {
    display: flex;
    align-items: center;
    margin-left: 20px;
    position: relative;
    font-size: 14px;
    white-space: nowrap;
}

.nav_item::before {
    content: "";
    display: block;
    position: absolute;
    left: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 10px;
    background-color: #666666;
}

.nav_list a:first-of-type .nav_item::before {
    display: none;
}

.nav_list a:first-of-type {
    color: #123E88;
}

.nav_list a:last-of-type {
    color: #666666;
}


.nav_list a:last-of-type .nav_item::after {
    display: none;
}

.nav_item img {
    margin-right: 10px;
    vertical-align: middle;
}

.pub_footer {
    height: 80px;
    background-color: #2F2F30;
    font-size: 12px;
    line-height: 17px;
    color: #D4D4D4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.pub_footer p {
    margin-bottom: 6px;
}

.popup {
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0;
    top: 0;
    background-color: rgba(0, 0, 0, .6);
    z-index: 9;
    display: none;
}


.popup_cont {
    position: absolute;
    max-height: 99vh;
    overflow-y: auto;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #FEFFFF;
    border-radius: 6px;
    border: 1px solid #979797;
    padding: 40px 50px 50px;
}

.popup_close {
    position: absolute;
    right: 20px;
    top: 20px;
    cursor: pointer;
}

.popup_title {
    color: #123E88;
    font-size: 24px;
    margin-bottom: 20px;
}

.popup_item {
    width: 400px;
    height: 50px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    border: 1px solid #D5D5D5;
    border-radius: 3px;
    margin-bottom: 20px;
}

.popup_item img {
    margin-right: 16px;
}

.popup_item input {
    font-size: 14px;
}

.popup_send {
    margin-left: auto;
    font-size: 14px;
    color: #123E88;
    cursor: pointer;
}

.popup_login {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #123E88;
    border-radius: 3px;
    font-size: 16px;
    color: #FFFFFF;
    margin-top: 30px;
    margin-bottom: 20px;
    cursor: pointer;
}

.popup_btn {
    width: 120px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #123E88;
    border-radius: 3px;
    font-size: 16px;
    color: #FFFFFF;
    cursor: pointer;
}

.popup_sign {
    font-size: 14px;
    color: #666666;
}

.popup_sign span {
    color: #123E88;
    cursor: pointer;
}

/* 协议 */

.treaty .popup_cont {
    width: 1100px;
}

.treaty .popup_title {
    text-align: center;
}

.popup_html {
    font-size: 14px;
    line-height: 26px;
    max-height: 60vh;
    overflow-y: scroll;
    color: #666666;
    border-top: 1px dashed #E5E5E5;
    border-bottom: 1px dashed #E5E5E5;
    padding-top: 10px;
    padding-bottom: 20px;
}

.popup_html::-webkit-scrollbar,
.popup_cont::-webkit-scrollbar {
    width: 6px;
    height: 6px;
    background-color: #f5f5f5;
}

.popup_html::-webkit-scrollbar-thumb,
.popup_cont::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}

/*  */

.popup_radio {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 30px;
}

.treaty .popup_login {
    width: 120px;
    height: 50px;
    margin: 0 auto;
}

.radio {
    width: 20px;
    height: 20px;
    border: 1px solid #123E88;
    border-radius: 4px;
    margin-right: 10px;
}

.radio.on {
    background-color: #123E88;
    position: relative;
}

.radio.on::after {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    background-image: url('../image/img5.png');
    background-repeat: no-repeat;
    background-size: 11px auto;
    background-position: center;
}

.ui__toast_text {
    padding: 10px 15px !important;
    font-size: 14px !important;
}

.logout {
    display: none;
}

.noedit {
    background-color: grey;
    cursor: auto;
}

@media screen and (max-width: 800px) {
    * {
        cursor: pointer;
    }

    .nav {
        width: 90%;
    }

    .text,
    .apply,
    .treaty .popup_cont {
        width: 90%;
        margin: 0 auto;
    }

    .pub_footer {
        height: auto;
        text-align: center;
        padding: 20px;
    }

    .popup_cont {
        padding: 40px 18px 50px;
    }

    .popup_item {
        width: 100%;
    }

    .popup_item input {
        width: 37vw;
    }

    .popup_send {
        white-space: nowrap;
    }

    .treaty .popup_cont {
        padding: 20px 30px;
    }

    .ui__content_body div{
        font-size: 16px;
        padding-top: 10px;
    }

    .btn_done{
        font-size: 16px;
    }
}